In 1766 Baba Mohammed ben-Osman became Dey of Algiers. في 1766، بابا محمد بن عثمان أصبح داي الجزائر العاصمة.
By the final week of June, the squadron had reached Algiers and had initiated negotiations with the Dey. ومع حلول الأسبوع الأخير من يونيو، كان الأسطول قد وصل إلى الجزائر، وبدأ التفاوض مع داي الجزائر.
By the final week of June, the squadron had reached Algiers and had initiated negotiations with the Dey. ومع حلول الأسبوع الأخير من يونيو، كان الأسطول قد وصل إلى الجزائر، وبدأ التفاوض مع داي الجزائر.
The Deys of Tunis and Tripoli agreed without any resistance, but the Dey of Algiers was more recalcitrant and the negotiations were stormy. وافق الداي من تونس وطرابلس دون أي مقاومة، ولكن داي الجزائر أكثر تمردا وكانت المفاوضات العاصفة.
The second time, Admiral Barceló damaged the city so severely that the Algerian Dey asked Spain to negotiate a peace treaty and from then on Spanish vessels and coasts were safe for several years. ومن ثم وللمرة الثانية، دمر الأدميرال بارسيلو المدينة بصورة كبيرة بحيث إن داي الجزائر طلب من إسبانيا التفاوض على معاهدة سلام ومنذ ذلك الحين كانت السفن الإسبانية والسواحل آمنة لوقت طويل.
After an Anglo-Dutch raid in 1816 on Algiers immobilized most of the Pirate fleet, the Dey of Algiers was forced to agree to terms which included a cessation of the practice of enslaving Christians, although slave trading in non-Europeans could still continue. بعد الغارة الأنجلو-هولندية عام 1816 على الجزائر، عرجت معظم أسطول القراصنة، اضطر داي الجزائر للموافقة على الشروط التي شملت التوقف عن ممارسة استعباد المسيحيين، على الرغم من أن تجارة الرقيق في غير الأوروبيين يمكن أن تستمر.
The great Spanish expedition led by Don José Carrillo de Albornoz, Duke of Montemar and Don Francisco Javier Cornejo defeated the Ottoman-Muslim troops under the command of the Bey Hassan, and conquered the fortress-cities of Oran and Mers el-Kebir, ruled and administered by the Ottoman Empire from 1708, during the War of the Spanish Succession, when both cities, ruled by Spain, fell into the hands of the Ottoman Dey of Algiers. هزمت الحملة الإسبانية بقيادة دون خوسيه كاريلو دي ألبورنوز ودوق مونتيمار ودون فرانسيسكو خافيير كورنيخو القوات العثمانية الإسلامية تحت قيادة باي حسان، وغزت المدن المحصنة لوهران والمرسى الكبير، التي تديرها الإمبراطورية العثمانية من عام 1708، خلال حرب الخلافة الإسبانية، عندما وقعت كلتا المدينتين، التي تحكمها إسبانيا، في يدي داي الجزائر العثماني.